﻿' LibWowAPI
' by Ronald M. Clifford (roncli@roncli.com)
'
' This source code is released under the GNU Library General Public License (LGPL) Version 2.1.

Imports System.Collections.ObjectModel

Namespace roncliProductions.LibWowAPI.Guild

    ''' <summary>
    ''' A class containing information about completed guild achievements and criteria.
    ''' </summary>
    ''' <remarks></remarks>
    Public Class Achievements

        Private colAchievements As Collection(Of Achievement)
        ''' <summary>
        ''' A list of completed guild achievements.
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public ReadOnly Property Achievements As Collection(Of Achievement)
            Get
                Return colAchievements
            End Get
        End Property

        Private colCriteria As Collection(Of Criteria)
        ''' <summary>
        ''' A list of completed guild achievement criteria.
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public ReadOnly Property Criteria As Collection(Of Criteria)
            Get
                Return colCriteria
            End Get
        End Property

        Protected Friend Sub New(aAchievements As Collection(Of Achievement), cCriteria As Collection(Of Criteria))
            colAchievements = aAchievements
            colCriteria = cCriteria
        End Sub

    End Class

End Namespace
